/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.7.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    p
    {
        solver          GAMG;
	//preconditioner  DIC;
        tolerance       1e-10;
        relTol          0.001;
        smoother        GaussSeidel;
        cacheAgglomeration true;
        nCellsInCoarsestLevel 10;
        agglomerator    faceAreaPair;
        mergeLevels     1;
       //mergeLevels      2;
        nSweeps  2;
        nPreSweeps  0;
        nPostSweeps  2;
    }

    h
    {
        solver          PBiCG; 
        preconditioner  DILU;
        tolerance       1e-08;
        relTol          0.005;
    }

    k
    {
        solver          smoothSolver; //PBiCG;
        //preconditioner  DILU;
        smoother	GaussSeidel;
    	nSweeps		2;
        tolerance       1e-08;
        relTol          0.005;
    }

    epsilon
     {
        solver          smoothSolver;//BiCG;
        //preconditioner  DILU;
        smoother	GaussSeidel;
    	nSweeps		2;
        tolerance       1e-08;
        relTol          0.005;; 
    }

    U
    {
        solver          smoothSolver;//BiCG;
        //preconditioner  DILU;
        smoother	GaussSeidel;
    	nSweeps		2;
        tolerance       1e-08;
        relTol          0.005;
    }

}

SIMPLE
{
    nCorrectors 3;
    nNonOrthogonalCorrectors 5;
    pRefCell 0;
    pRefValue 0;
    pMin            pMin [ 1 -1 -2 0 0 0 0 ] 10000;
    rhoMax          rhoMax [ 1 -3 0 0 0 0 0 ] 4;
    rhoMin          rhoMin [ 1 -3 0 0 0 0 0 ] 0.5;
}

relaxationFactors
{
    p               0.1;
    rho             0.1;
    U               0.3;
    k               0.3;
    epsilon         0.3;
    h               0.2;
}

  
/*    p               0.1;
    rho             0.05;
    U               0.3;
    k               0.3;
    omega           0.3;
    h               0.1;
  

  p               0.3;
  rho             1;
  U               0.7;
  k               0.9;
  omega           0.9;
  h               0.9;*/


// ************************************************************************* //
